<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-description" class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-description" data-rule="required" class="form-control" name="row[description]" type="text" value="{$row.description}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-courseid" class="control-label col-xs-12 col-sm-2">{:__('Courseid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-courseid" class="form-control" name="row[courseid]" type="number" value="{$row.courseid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-starttime" class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-starttime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[starttime]" type="text" value="{$row.starttime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-endtime" class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{$row.endtime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-classcount" class="control-label col-xs-12 col-sm-2">{:__('Classcount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classcount" class="form-control" name="row[classcount]" type="number" value="{$row.classcount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-classhour" class="control-label col-xs-12 col-sm-2">{:__('Classhour')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classhour" class="form-control" name="row[classhour]" type="number" value="{$row.classhour}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-teacher" class="control-label col-xs-12 col-sm-2">{:__('Teacher')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-teacher" class="form-control" name="row[teacher]" type="text" value="{$row.teacher}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-studentcount" class="control-label col-xs-12 col-sm-2">{:__('Studentcount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-studentcount" class="form-control" name="row[studentcount]" type="number" value="{$row.studentcount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-branch" class="control-label col-xs-12 col-sm-2">{:__('Branch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branch" class="form-control" name="row[branch]" type="text" value="{$row.branch}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-createtime" class="control-label col-xs-12 col-sm-2">{:__('Createtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[createtime]" type="text" value="{$row.createtime|datetime}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="c-createby" class="control-label col-xs-12 col-sm-2">{:__('Createby')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createby" class="form-control" name="row[createby]" type="text" value="{$row.createby}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="c-updatetime" class="control-label col-xs-12 col-sm-2">{:__('Updatetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updatetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[updatetime]" type="text" value="{$row.updatetime|datetime}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="c-updateby" class="control-label col-xs-12 col-sm-2">{:__('Updateby')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updateby" class="form-control" name="row[updateby]" type="text" value="{$row.updateby}" readonly="readonly">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
